Skip to content

fix: properly determine output plugin or rustc version#45

Merged
willcrichton merged 1 commit into
cognitive-engineering-lab:mainfrom
WERDXZ:fix/print-proper-version
Jun 7, 2026
Merged

fix: properly determine output plugin or rustc version#45
willcrichton merged 1 commit into
cognitive-engineering-lab:mainfrom
WERDXZ:fix/print-proper-version

Conversation

@WERDXZ

@WERDXZ WERDXZ commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

in libc v0.2.186

https://github.com/rust-lang/libc/blob/main/build.rs#L201-L225

libc want to see if its rustc 1.* version, but --version is being parsed as the outputting the plugin version because the --version flag is being treated before determining if the driver is intended to be invoked as a wrapper of rustc or not

@willcrichton willcrichton merged commit 9c6bc9a into cognitive-engineering-lab:main Jun 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants